package com.products.model;

public class Product {
	private int productId = 0;
	private String productName = null;
	private int productAmount = 0;
	
	public Product(int productId, String productName, int productAmount) {
		this.productId = productId;
		this.productName = productName;
		this.productAmount = productAmount;
	}
	
	public Product(){
	}
	
	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getProductAmount() {
		return productAmount;
	}

	public void setProductAmount(int productAmount) {
		this.productAmount = productAmount;
	}
	
    @Override
	public String toString(){
	return   this.getProductId() + ",  Name: " + this.getProductName()	 + ", Amount:	 " + this.getProductAmount() + ";";
	}
}
